package com.woniu.interfaces;

@FunctionalInterface
public interface MyInterface {

    void show(String str);

    //用default修饰符
    default void test1(){
        System.out.println("test1");
    }
    //用static修饰
    static void test2(){
        System.out.println("test2");
    }
}
